#ifndef MANUALMANIPULATION_H
#define MANUALMANIPULATION_H

#include <QWidget>
#include "util/util.h"
#include "draw_circle_delegate/draw_circle_delegate.hpp"

namespace Ui {
class ManualManipulation;
}

class ManualManipulation : public QWidget
{
    Q_OBJECT

public:
    explicit ManualManipulation(QWidget *parent = 0);
    ~ManualManipulation();

    void initializeBackground();
    void initializeButtons();
    void connectSignalsAndSlots();
    void updateMantuableData();
    void displayTechnParam(Techn_Param_ptr tech_param);


signals:
    void returnMenu();
    void returnTeachMode();
    void returnCalTimer();
    void returnZero();
    void returnAutomatic();
    void addSpeedValue();
    void decSpeedValue();
    void sendParamValue_TCP_(QString MsgSentType, QString ParamName, QString ParamAttribute);

private slots:
    void pushReturnMenu();
    void pushReturnTeachMode();
    void pushReturnCalTimer();
    void pushReturnZero();
    void pushReturnAutomatic();

private:
    Ui::ManualManipulation *ui;
    void setTable(QTableWidget* table);
    QLabel *ledLabel;
};

#endif // MANUALMANIPULATION_H


